#include <stdio.h>
#include <Windows.h>
#include "Xml.h"
#include "DbCode.h"
#include "Time.h"
#include "Log.h"


int main(int argc, char** args)
{
	TimeManager::Instance().Init();
	LogManager::Instance().Init("Log/SysTool", "SysTool");

	Xml conf;
	if ( !conf.LoadFile("config.xml") ) return false;
	DbCode::Run(conf);	

#ifdef __WINDOWS__
	system("cd");
	system("pause");
#endif
	return 0;
}